package com.hj.dapp.business.menu.service;

import com.hj.dapp.business.menu.model.Menu;

import java.security.Principal;
import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2023/12/30
 */
public interface MenuService {
    List<Menu> getMenuByUser(Principal principal);

    void saveMenu(Menu menu, Principal principal);

    List<Menu> getAllMenu();
}
